﻿using System.Text;
using Fiveesoft.Utility;

namespace NLUNZ.Business
{

    public partial class CompanyInfo
    {
        public int SummaryLength = 50;
        public string Summary
        {
            get
            {
                int len = Content == null ? 0 : Content.Length;
                return Content == null ? string.Empty : HtmlHelper.GetPlainTextFromHtmlContent(Content, len < SummaryLength ? len : SummaryLength);
            }
        }
    }
}